package com.rongke.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * @ChemotherapyMedicine
 * @化疗用药(chemotherapy_medicine)
 * @version : Ver 1.0
 */
@TableName("mr_chemotherapy_medicine")
public class ChemotherapyMedicine implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 2086742144008784110L;

    /**
     * @备注:化疗用药id
     * @字段:id BIGINT(19)
     */
    @TableId(type = IdType.AUTO)
    private java.lang.Long    id;

    /**
     * @备注:药物名称
     * @字段:medicince_name VARCHAR(11)
     */
    private java.lang.String  medicineId;

    private String            medicineName;

    /**
     * @备注:药剂量
     * @字段:amount VARCHAR(11)
     */
    private java.lang.String  amount;

    /**
     * @备注:用药方式
     * @字段:medicine_type VARCHAR(11)
     */
    private java.lang.String  medicineTypeId;

    private String            medicineTypeName;

    /**
     * @备注:化疗方案id
     * @字段:ct_id BIGINT(19)
     */
    private java.lang.Long    chemotherapyId;

    public ChemotherapyMedicine() {
    }

    public java.lang.Long getId() {
        return id;
    }

    public void setId(java.lang.Long id) {
        this.id = id;
    }

    public java.lang.String getMedicineId() {
        return medicineId;
    }

    public void setMedicineId(java.lang.String medicineId) {
        this.medicineId = medicineId;
    }

    public java.lang.String getAmount() {
        return amount;
    }

    public void setAmount(java.lang.String amount) {
        this.amount = amount;
    }

    public java.lang.String getMedicineTypeId() {
        return medicineTypeId;
    }

    public void setMedicineTypeId(java.lang.String medicineTypeId) {
        this.medicineTypeId = medicineTypeId;
    }

    public java.lang.Long getChemotherapyId() {
        return chemotherapyId;
    }

    public void setChemotherapyId(java.lang.Long chemotherapyId) {
        this.chemotherapyId = chemotherapyId;
    }

    public String getMedicineName() {
        return medicineName;
    }

    public void setMedicineName(String medicineName) {
        this.medicineName = medicineName;
    }

    public String getMedicineTypeName() {
        return medicineTypeName;
    }

    public void setMedicineTypeName(String medicineTypeName) {
        this.medicineTypeName = medicineTypeName;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }
}
